export default class ShareBase {

    protected shareTitle: string;
    protected shareQuery: string;
    protected shareStartTime: number;
    protected onShareFinish:Function;

    init(title: string, query: string = '') {
        this.shareTitle = title;
        this.shareQuery = query;
        console.log('初始化平台分享')
    }

    share(title: string, query: string = '', onShareFinish?: Function) {
        console.log('发起分享')
        this.onShareFinish = onShareFinish;
        this.shareStartTime = new Date().getTime();
    }

}
